package com.alipay.sofa.award.record.facade;

import java.io.Serializable;
import java.util.List;

/**
 * PagedQueryResult
 *
 * @author yangguanchao
 * @since 2018/09/03
 */
public class PagedQueryResult<T> implements Serializable {

    private List<T> list;

    private int     currentPage;

    private long    totalCount;

    private int     pageSize;

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(long totalCount) {
        this.totalCount = totalCount;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
